package com.ruoyi.common.enums;

/**
 * 操作状态
 * 
 * @author ruoyi
 *
 */
public enum EquipmentType
{
    CO2(0L, "co2传感器"),
    SOIL(1L, "土壤传感器"),
    LIGHT(2L, "光伏传感器"),
    ELSE(3L, "其他");
    private final Long code;
    private final String info;

    EquipmentType(Long code, String info)
    {
        this.code = code;
        this.info = info;
    }

    public Long getCode()
    {
        return code;
    }

    public String getInfo()
    {
        return info;
    }
}
